import { _decorator, Component, JsonAsset, Node, Prefab, SpriteFrame } from 'cc';
import { BundleInfoMap } from '../Common/CommonInterface';
const { ccclass, property } = _decorator;

export const BundleConfig:BundleInfoMap ={
    UIFramework:{
        bundleType:Prefab,
        name:'Prefab/UIFramework',
        urls:[
            'UIRoot',
            'UILoading'
        ]
    },
    UI:{
        bundleType:Prefab,
        name:'Prefab/UI',
        urls:[            
            "Menu",
            "EquipmentPanel",
            "SkillPanel",
            "ShiBingPanel",
            "LevelPanel",
            "MainUI",
            "GameUI",
            "PausePanel",
            "DetailsPanel",
            "GameOverPanel",
        ]
    },
    Game:{
        bundleType:Prefab,
        name:'Prefab/Game',
        urls:[            
            "GridButtonPrefab",
            "SkillBtn",
            "ShiBingBtn",
            "Player",
            "EnemyBoss",
            "Prop",
            "Loot",
            "Arrow",
        ]
    },
    Data:{
        bundleType:JsonAsset,
        name:'Data',
        urls:[
            "LevelDt",
            "PlayerSkillDt",
            "EquipmentDt",
            "ShiBingDt",
            "EnemyShiBingDt",
            "EnemyBossDt",
            "PlayerDt",
            "PropDt",
        ]
    },
    Img:{
        bundleType:SpriteFrame,
        name:"Resources/Img",
        urls:[
            "Skill1/spriteFrame",
            "Skill2/spriteFrame",
            "Skill3/spriteFrame",
            "Treasure/spriteFrame",
            "Coin/spriteFrame",
        ]

    },
    ShiBingType:{
        bundleType:Prefab,
        name:"Prefab/ShiBingType",
        urls:[
            "Spearman",
            "Archerman",
            "Shieldman"
        ]
    }
}
